package com.fh.mbs.service.impl;

import com.fh.common.bo.Order;
import com.fh.mbs.service.OrderService;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @FileName : OrderFallbackServiceImpl
 * @Description :
 * @Author : fh
 * @Date : 2020/11/20 9:06
 * @Version : 1.0.0
 */
@Component
public class OrderFallbackServiceImpl implements OrderService {

    @Override
    public List<Order> queryOrderList(Order order) {
        List<Order> orders = new ArrayList<>();
        Order rOrder = new Order();
        rOrder.setId(4444444);
        rOrder.setMemberUsername("远程服务器故障，请稍后重试...");
        orders.add(rOrder);
        return orders;
    }
}
